package com.jdk.demo.io.半读;

import java.io.OutputStream;
import java.net.Socket;

public class Client {

	public static void main(String[] args) throws Exception {
		Socket socket = new Socket("localhost", 8088);
		OutputStream out = socket.getOutputStream();
		out.write("abcdefg".getBytes());
		socket.close();
	}

}
